package view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class Frames extends JFrame {
	private JButton addButton = new JButton("Add");
	private JButton deleteButton = new JButton("Delete");
	private JButton editButton = new JButton("Edit");
	private JButton sortName = new JButton("Sort by name");
	private JButton displayButton = new JButton("Display Contacts");
	private JButton sortGroup = new JButton("Sort by group");
	private JButton sortDate = new JButton("Sort by date");
	

	
	Frames(){
		JPanel calcPanel = new JPanel();
		
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setSize(600, 100);
		
		calcPanel.add(addButton,0,0);
		calcPanel.add(deleteButton);
		calcPanel.add(editButton);
		calcPanel.add(displayButton);
		calcPanel.add(sortName);
		calcPanel.add(sortGroup);
		calcPanel.add(sortDate);
	}
}
